package cn.com.nwpu.visual_system.utils;

import java.util.HashMap;

/**
 * @author Hutengzhong
 * @version 1.0.0
 * @title Request
 * @description 请求信息
 * @date 2024/4/26 17:10
 */
public class Request {
    private String url; // 请求的url
    private String methods; // 请求方式
    private HashMap parameters; // 请求参数

    public Request(){
        this.parameters = new HashMap();
    }

    public String getUrl() {
        return url;
    }
    public void setUrl(String url) {
        this.url = url;
    }
    public String getMethods() {
        return methods;
    }
    public void setMethods(String methods) {
        this.methods = methods;
    }
    public HashMap getParameters() {
        return parameters;
    }
    public void setParameters(HashMap parameters) {
        this.parameters = parameters;
    }

    @Override
    public String toString() {
        return "Request{" +
                "url='" + url + '\'' +
                ", methods='" + methods + '\'' +
                ", parameters=" + parameters +
                '}';
    }
}
